Floating-Point Data Formats
Figure E-1
Table E-1 Interpreting floating-point values If biased
exponent e is:And fraction f is: Then value v is: And class of v is: (any) s×2(e+-bias)×(1.f) [73] FP_NORMAL 0
s×2minexp×(0.f) [74] FP_SUBNORMAL s×0 FP_ZERO s× ![]()
FP_INFINITE 0
FP_SNAN
(first bit is 0)FP_QNAN
(first bit is 1)Floating-point data formats
Table E-2 Class and sign inquiry macros fpclassify(x) isnormal(x) isfinite(x) isnan(x) signbit(x)
[72] max = 255 forfloat
; 2047 fordouble
andlong double.
[73] Forlong double
both head and tail are evaluated this way and added together.
[74] minexp = -126 forfloat
; -1022 fordouble
andlong double.